<!-- <script setup lang="ts">
defineProps<{
  onBeforeClose:()=>void,

}>()
</script>
<template>
  <van-action-sheet
    :before-close="onBeforeClose"
    :closeable="false"
    :close-on-popstate="false"
    v-model:show="showActionSheet"
    title="标题"
  >
    <div class="pay-type">
      <p class="amount">￥{{ payInfo.actualPayment.toFixed(2) }}</p>
      <van-cell-group>
        <van-cell title="微信支付" @click="selectedPayType = 0">
          <template #icon><svg-icon name="consult-wechat" /></template>
          <template #extra><van-checkbox :checked="selectedPayType === 0" /></template>
        </van-cell>
        <van-cell title="支付宝支付" @click="selectedPayType = 1">
          <template #icon><svg-icon name="consult-alipay" /></template>
          <template #extra><van-checkbox :checked="selectedPayType === 1" /></template>
        </van-cell>
      </van-cell-group>
      <div class="btn">
        <van-button type="primary" round block @click="pay">立即支付</van-button>
      </div>
    </div>
  </van-action-sheet>
</template>
<style scoped></style> -->
